package com.lagou.service.impl;

import com.lagou.dao.UserDao;
import com.lagou.domain.User;
import com.lagou.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: ssm_springboot
 * @description:
 * @author: Mr.Wang
 * @create: 2020-12-21 19:04
 **/
@Service
public class UserServiceImpl implements UserService {

	@Autowired
	private UserDao userDao;

	@Override
	public List<User> findAll() {
		return userDao.findAll();
	}
}
